<template>
    <span class="j-address">{{ txt }}</span>
</template>

<script lang="ts" setup>
const props = defineProps({
    txt: {
        type: String,
        required: true
    }
});
</script>

<style lang="less" scoped>
.j-address {
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    &:hover {
        text-decoration: underline;
    }
}
</style>
